-
-
Couldn't load subscription status.
- Fork 922
chore: fix JavaScript lint errors (issue #8262) #8270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Replace './boop.js' with './example.js' in JSDoc examples - Replace new Array() with array literal and push in bessely0-by test
|
👋 Hi there! 👋 And thank you for opening your first pull request! We will review it shortly. 🏃 💨 Getting Started
Next Steps
Running Tests LocallyYou can use # Run tests for all packages in the math namespace:
make test TESTS_FILTER=".*/@stdlib/math/.*"
# Run benchmarks for a specific package:
make benchmark BENCHMARKS_FILTER=".*/@stdlib/math/base/special/sin/.*"If you haven't heard back from us within two weeks, please ping us by tagging the "reviewers" team in a comment on this PR. If you have any further questions while waiting for a response, please join our Gitter channel to chat with project maintainers and other community members. We appreciate your contribution! Documentation Links |
Coverage Report
The above coverage report was generated for the changes in this PR. |
Signed-off-by: Athan <kgryte@gmail.com>
…t/docs/types/index.d.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after clean-up. Two comments:
- The use of sparse arrays in the test file was intentional. Your original proposed change simply densified the arrays which is not what was wanted.
- You simply swapped one non-existent filename for another. This is also not desired. I just removed the proposed filename changes.
Description
This pull request:
ENOENT: no such file or directory, open './boop.js'errorstdlib/no-new-arrayviolations in test fileRelated Issues
This pull request:
Changes
Replaced
'./boop.js'with'./example.js'in JSDoc example comments in the following files:lib/node_modules/@stdlib/utils/async/for-each-right/lib/factory.jslib/node_modules/@stdlib/utils/async/for-each-right/lib/index.jslib/node_modules/@stdlib/utils/async/for-each-right/lib/main.jslib/node_modules/@stdlib/utils/async/for-each-right/docs/types/index.d.tsReplaced
new Array()constructor with array literal and push pattern in:lib/node_modules/@stdlib/math/strided/special/bessely0-by/test/test.main.jsQuestions
No.
Other
All modified files have been tested with ESLint and pass linting validation.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
I used Claude AI to understand the linting errors, identify the specific issues, and determine the appropriate fix patterns following stdlib conventions. The actual code changes were made manually by me with guidance from Claude on stdlib's coding standards and proper fix implementations.
@stdlib-js/reviewers